package com.lagou.niancheng.core.config;

public class MappedStatement {

    /**
     * id标识
     */
    private String id;

    /**
     * 结果类型元数据
     */
    private ResultTypeMetaData resultTypeMetaData;

    /**
     * 方法元数据
     */
    private MethodMetaData methodMetaData;
    /**
     * 参数值类型
     */
    private Class parameterType;
    /**
     * sql语句
     */
    private String sql;

    /**
     * sql封装对象
     */
    private BoundSql boundSql;

    private StatementType statementType;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Class getParameterType() {
        return parameterType;
    }

    public void setParameterType(Class parameterType) {
        this.parameterType = parameterType;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public BoundSql getBoundSql() {
        return boundSql;
    }

    public void setBoundSql(BoundSql boundSql) {
        this.boundSql = boundSql;
    }

    public ResultTypeMetaData getResultTypeMetaData() {
        return resultTypeMetaData;
    }

    public void setResultTypeMetaData(ResultTypeMetaData resultTypeMetaData) {
        this.resultTypeMetaData = resultTypeMetaData;
    }

    public StatementType getStatementType() {
        return statementType;
    }

    public void setStatementType(StatementType statementType) {
        this.statementType = statementType;
    }

    public MethodMetaData getMethodMetaData() {
        return methodMetaData;
    }

    public void setMethodMetaData(MethodMetaData methodMetaData) {
        this.methodMetaData = methodMetaData;
    }
}
